﻿using System.ComponentModel;
using System.ServiceModel;
using System.ServiceProcess;
using System.Configuration;


namespace Gollie.Mail
{
	[ServiceContract()]
	public interface IMailService
	{
		[OperationContract]
		void Queue(EMail email);

		[OperationContract]
		void QueueAsync(EMail email);

		[OperationContract]
		void QueueCollection(EMailCollection emails);

		[OperationContract]
		void QueueCollectionAsync(EMailCollection emails);

		[OperationContract]
		void QueueBulk(BulkMail emails);

		[OperationContract]
		void QueueBulkAsync(BulkMail emails);
	}

	public interface IMailServiceChannel : IMailService, IClientChannel
	{ }
}
